<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>主页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-card">
            <div class="layui-card-header">系统信息</div>
            <div class="layui-card-body layui-text layadmin-version">
                <table class="layui-table">
                    <colgroup>
                        <col width="150">
                        <col>
                    </colgroup>
                    <tbody>
                    <tr>
                        <td>系统名称</td>
                        <td>smallshop</td>
                    </tr>
                    <tr>
                        <td>当前版本</td>
                        <td>
                            <script type="text/html" template>
                                v{{ layui.setter.version }}
                            </script>
                        </td>
                    </tr>
                    <script type="text/html" template lay-url="{{ layui.setter.apiHost }}/main">
                        {{# layui.each(d.data, function(index, item){ }}
                        <tr>
                            <td>{{ item.name }}</td>
                            <td>{{- item.value }}</td>
                        </tr>
                        {{# }); }}
                    </script>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<script src="../../layuiadmin/layui/layui.js?t=1"></script>
<script>
    layui.config({
        base: '../../layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'modules/admin/index',//主入口模块
    }).use(['index']);
</script>
</body>
</html>

